<?php
namespace app\common\validate\Post;

use think\Validate;

// 商品订单的验证器
class Checkin extends Validate
{
    protected $rule = [
        'busid' => 'require',
        'createtime' => 'require',
        'score' => 'require',
        // 'status' => ['number', 'in:0,1'],
    ];

    protected $message = [
        'busid.require' => '签到人必须填写',
        'createtime.require' => '签到时间必须填写',
        'score.require' => '签到积分必须填写',
        // 'status.in' => '私信读取状态的值有误',
    ];

}

?>